package com.didi.gulimall.order.service;

import com.didi.gulimall.order.vo.OrderConfirmVo;
import com.didi.gulimall.order.vo.OrderSubmitVo;
import com.didi.gulimall.order.vo.PayOrderVo;

import java.util.concurrent.ExecutionException;

/**
 * @author 10626
 */
public interface OrderWebService {
    OrderConfirmVo confirmOrder() throws ExecutionException, InterruptedException;

    String submitOrder(OrderSubmitVo orderSubmitVo) throws ExecutionException, InterruptedException;

    PayOrderVo getOrderVo(String totalOrderSn);

    OrderConfirmVo seckillConfirmOrder() throws ExecutionException, InterruptedException;

    String submitSeckillOrder(OrderSubmitVo orderSubmitVo);

}
